package cn.com.open.opensaas.answerservice.mapper;

import cn.com.open.opensaas.baiscommon.model.pager.TestPaperContent;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface PaperContentMapper {
	/**
	 * 根据Id查询试卷
	 * @param testPaperId
	 * @return
	 */
	@Select("select TestPaperID as paperId,ContentXml as contentXml,ContentJson as contentJson from TestPaperContent where TestPaperID = #{testPaperId}")
	TestPaperContent findTestPaperById(@Param("testPaperId") String testPaperId);
}